package com.hospital.demo.controller.gaoyuran;


import com.hospital.demo.service.gaoyuran.EquAndExpSer;
import com.hospital.demo.util.ResultUtils;
import com.hospital.demo.util.ResultVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/EAE")
@Api(tags={"G_多表接口"})
public class EquAndExpCon {

    @Autowired
    private EquAndExpSer equAndExpSer;

    @ApiOperation(value = "获取全部器材使用信息", notes = "")
    @GetMapping("/findall")
    private ResultVO findall() {
        return ResultUtils.success(equAndExpSer.findall());
    }
}
